<div class="action-dialog-model-fixed-body">
	<form action="<@url value='/schedule/rest/saveScheduleTicket'/>" class="action-ajax-form action-ajax-form-valid" method="post">
		<input type="hidden" name="id" value="${scheduleTicket.id}" />
		<div class="detailsBox clearfix">
			<div class="openBox">
				<h3 class="mt20">
					<i class="jtIco"></i>自动创建工单配置信息
				</h3>
				<div class="detaiTab">
					<table width="100%" border="0" cellspacing="0" cellpadding="0">
						<tbody>
							<tr>
								<td align="right" class="bg">配置状态:</td>
								<td><@select dataSouceType="project_status" class="tabInp" value="${scheduleTicket.status}" name="status" class="action-valid-field" data\-action\-valid\-rule="required"/><span class="action-field-error" for="status"></span></td>
							</tr>
							<tr>
								<td align="right" class="bg">自动创建周期:</td>
								<td><@select dataSouceType="weekday" type="checkbox" name="weekday" value="${scheduleTicket.weekday}" class="action-valid-field" data\-action\-valid\-rule="required"/><span class="action-field-error" for="weekday"></span></td>
							</tr>
							<tr>
								<td align="right" class="bg" width="18%">工单到期天数:</td>
								<td><input name="days" value="${scheduleTicket.days}" class="action-valid-field" data-action-valid-rule="required" /><span class="action-field-error" for="days"></span></td>
							</tr>
							<tr>
								<td align="right" class="bg" width="18%">自动创建的标题:</td>
								<td><input name="title" value="${scheduleTicket.title}" class="action-valid-field" data-action-valid-rule="required" /><span class="action-field-error" for="name"></span></td>
							</tr>
							<tr>
								<td align="right" class="bg">自动创建的类型:</td>
								<td><@select dataSouceType="ticketType" name="ticketType" value="${scheduleTicket.ticketType}" class="action-valid-field" data\-action\-valid\-rule="required"/><span class="action-field-error" for="ticketType"></span></td>
							</tr>
							<tr>
								<td align="right" class="bg">自动创建的模块:</td>
								<td><@select dataSouceType="auto" dataSouceFrom="projectModule" name="moduleId" value="${scheduleTicket.moduleId}" class="action-valid-field" data\-action\-valid\-rule=""/><span class="action-field-error" for="moduleId"></span></td>
							</tr>
							<tr>
								<td align="right" class="bg">自动创建的工单描述:</td>
								<td colspan=""><@url value='/attachment/upload' assign="uploadUrl"/> <@htmlEditor name="description" style="width: 90%;height:150px;" data\-upload\-url="${uploadUrl}" class="action-valid-field"
									data\-action\-valid\-rule="required">${scheduleTicket.description}</@htmlEditor> <span class="action-field-error" for="description"></span>
								</td>
							</tr>
							<tr>
								<td align="right" class="bg">配置备注:</td>
								<td colspan=""><textarea name="comments"  style="width: 90%;height:50px;" class="action-valid-field" data-action-valid-rule="required">${scheduleTicket.comments}</textarea><span class="action-field-error" for="comments"></span></td>
							</tr>
							<tr>
								<td align="right" class="bg">补充说明:</td>
								<td colspan="">工单标题和工单描述支持implementationReviewTime，currentDate，user的变量</td>
							</tr>
						</tbody>
					</table>
					<div class=" mtb20 tac">
						<input class="btn_auto_30 btn_blue" type="submit" value="保存" />
					</div>

				</div>
			</div>
		</div>
	</form>
</div>